# base image
FROM index.mindcoder.cn/docker/alpine/nodejs

# MAINTAINER
MAINTAINER zw@sdzw.com

# ADD files
ADD start.sh /

# run command
RUN cnpm install -g anyproxy@3.10.4 && anyproxy --root
RUN chmod +x /start.sh

# ports
EXPOSE 8001 8002

# volumes
VOLUME ["/mnt"]

# main command
ENTRYPOINT /start.sh

